import request from '@/utils/request'

// 资金明细列表
export function apiUserFinanceLists(params: any) {
    return request.get({ url: '/finance.user_finance/lists', params })
}

// 添加资金明细
export function apiUserFinanceAdd(params: any) {
    return request.post({ url: '/finance.user_finance/add', params })
}

// 编辑资金明细
export function apiUserFinanceEdit(params: any) {
    return request.post({ url: '/finance.user_finance/edit', params })
}

// 删除资金明细
export function apiUserFinanceDelete(params: any) {
    return request.post({ url: '/finance.user_finance/delete', params })
}

// 资金明细详情
export function apiUserFinanceDetail(params: any) {
    return request.get({ url: '/finance.user_finance/detail', params })
}